package cn.xiaopengstack.infrastructure.dao;

import cn.xiaopengstack.infrastructure.dao.po.AiClientSystemPrompt;
import org.apache.ibatis.annotations.Param;

/**
* @author jiangyangang
* @description 针对表【ai_client_system_prompt(系统提示词配置表)】的数据库操作Mapper
* @createDate 2025-08-29 15:15:19
* @Entity cn.xiaopengstack.infrastructure.dao.po.AiClientSystemPrompt
*/
public interface AiClientSystemPromptMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AiClientSystemPrompt record);

    int insertSelective(AiClientSystemPrompt record);

    AiClientSystemPrompt selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AiClientSystemPrompt record);

    int updateByPrimaryKey(AiClientSystemPrompt record);

    /**
     * 查询系统提示词
     * @param promptId
     * @return
     */
    AiClientSystemPrompt queryByPromptId(@Param("promptId") String promptId);
}
